// 合同到期时间
import ContractDeadline from './Contract/ContractDeadline';
import ContractDeadlineForm from './Contract/ContractDeadline/ContractDeadlineForm';
// 合同列表管理和新增编辑合同
import ContractListManage from './Contract/ContractListManage';
import ContractManageForm from './Contract/ContractListManage/ContractManageForm';
// 合同类型和新增编辑
import ContractType from './Contract/ContractType';

import CertificateType from './Certificate/CertificateType';
import CertificateTypeForm from './Certificate/CertificateType/CertificateTypeForm';
// 证书到期时间
import CertificateDeadline from './Certificate/CertificateDeadline';
// 证书管理
import CertificateManage from './Certificate/CertificateManage';
import CertificateManageForm from './Certificate/CertificateManage/CertificateManageForm';
import CertificateManageShow from './Certificate/CertificateManage/CertificateManageShow';
import CertificateShowFrom from './Certificate/CertificateManage/CertificateManageShow/CertificateShowFrom';
// 证书统计查询
import CertificateStatistics from './Certificate/CertificateStatistics';
import Staff from './AttendanceAndWage/Staff';

import JobSubsidy from './AttendanceAndWage/JobSubsidy';
import Payroll from './AttendanceAndWage/Payroll';
import Attendance from './AttendanceAndWage/Attendance';
import SocialInsurance from './AttendanceAndWage/SocialInsurance';
import PayStructure from './AttendanceAndWage/PayStructure';
import PayStructureForm from './AttendanceAndWage/PayStructure/PayStructureForm';
import OnJob from './AttendanceAndWage/OnJob';
import SocialInsuranceForm from './AttendanceAndWage/SocialInsurance/SocialInsuranceForm';

import Roster from './System/roster';
import RosterForm from './System/roster/rosterForm';
import Users from './System/users';
import Projects from './System/projects';
import UserForm from './System/users/userForm';
import RosterManage from './RosterManage';
import PersonalData from './RosterManage/PersonalData';
import EditRoster from  './RosterManage/EditRoster';
import About from './About';

export default [
// 合同到期时间
  { path: '/Contract/ContractDeadline', exact: true, component: ContractDeadline },
  { path: '/Contract/ContractDeadline/ContractDeadlineForm', exact: true, component: ContractDeadlineForm },
  { path: '/Contract/ContractDeadline/ContractDeadlineForm/:id', exact: true, component: ContractDeadlineForm },
  // 合同列表管理和新增编辑合同
  { path: '/Contract/ContractListManage', exact: true, component: ContractListManage },
  { path: '/Contract/ContractListManage/ContractManageForm/:id', exact: true, component: ContractManageForm },
  { path: '/Contract/ContractListManage/ContractManageForm', exact: true, component: ContractManageForm },
  //
  { path: '/Contract/ContractType', exact: true, component: ContractType },
  // 证书类型和新增编辑
  { path: '/Certificate/CertificateType', exact: true, component: CertificateType },
  { path: '/Certificate/CertificateType/CertificateTypeForm/:id', exact: true, component: CertificateTypeForm },
  { path: '/Certificate/CertificateType/CertificateTypeForm', exact: true, component: CertificateTypeForm },
  // 证书到期时间
  { path: '/Certificate/CertificateDeadline', exact: true, component: CertificateDeadline },
  // 证书管理
  { path: '/Certificate/CertificateManage', exact: true, component: CertificateManage },
  { path: '/Certificate/CertificateManage/CertificateManageForm', exact: true, component: CertificateManageForm },
  { path: '/Certificate/CertificateManageShow/:id', exact: true, component: CertificateManageShow },
  { path: '/Certificate/CertificateShowFrom/:id', exact: true, component: CertificateShowFrom },
  // 证书统计查询
  { path: '/Certificate/CertificateStatistics', exact: true, component: CertificateStatistics },
  { path: '/AttendanceAndWage/Staff', exact: true, component: Staff },

  { path: '/AttendanceAndWage/JobSubsidy', exact: true, component: JobSubsidy },
  { path: '/AttendanceAndWage/Payroll', exact: true, component: Payroll },
  { path: '/AttendanceAndWage/Attendance', exact: true, component: Attendance },
  { path: '/AttendanceAndWage/SocialInsurance', exact: true, component: SocialInsurance },
  { path: '/AttendanceAndWage/SocialInsuranceForm', exact: true, component: SocialInsuranceForm },
  { path: '/AttendanceAndWage/SocialInsuranceForm/:id', exact: true, component: SocialInsuranceForm },
  { path: '/AttendanceAndWage/PayStructure', exact: true, component: PayStructure },
  { path: '/PayStructureForm/:id', exact: true, component: PayStructureForm },
  { path: '/PayStructureForm', exact: true, component: PayStructureForm },
  { path: '/AttendanceAndWage/OnJob', exact: true, component: OnJob },


  { path: '/system/roster', exact: true, component: Roster },
  { path: '/system/roster/rosterForm', exact: true, component: RosterForm },
  { path: '/system/roster/rosterForm/:id', exact: true, component: RosterForm },
  { path: '/system/users', exact: true, component: Users },
  { path: '/system/users/userForm', exact: true, component: UserForm },
  { path: '/system/users/userForm/:id', exact: true, component: UserForm },
  { path: '/system/projects', exact: true, component: Projects },

  { path: '/RosterManage', exact: true, component: RosterManage },
  { path: '/RosterManage/PersonalData/:id', exact: true, component: PersonalData },
  { path: '/RosterManage/EditRoster/:id', exact: true, component: EditRoster },

  { path: '/', exact: true, component: About },
];
